package com.bw.permission.kafka;

import lombok.extern.slf4j.Slf4j;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.support.Acknowledgment;
import org.springframework.stereotype.Component;

//@Component
@Slf4j
public class TestConsumer {
      @KafkaListener(topics = {"test"})
      public void consumer(String msg, Acknowledgment ack) {
          log.info(msg);
      }
}
